This page last changed on Jun 26, 2012 by brian.

Updating Bamboo on build-server from 3.1 to 4.1.2

Before I Started

I contact IS to get permissions on build-server. [~pat] gave me the following:

sudo permissions for /sbin/service, /sbin/chkconfig, /bin/mkdir, /bin/chown, /bin/chgrp, /bin/chmod, and /bin/rm

I also request the Mercurial be installed. From [~pat]:

Mercurial is only available through the EPEL repositories which we generally don't make available to production servers. So....

  • Installed docutils-0.9.1
  • Installed mercurial-2.2.2
  • Ran "hg debuginstall"

Shutdown Old Bamboo and Keep a Copy

sudo /sbin/service bamboo stop
cd /opt
sudo mkdir tmp
cp -R Bamboo tmp/Bamboo-3.1
sudo rm -rf Bamboo

Install New Bamboo (4.1)

cd tmp
wget http://www.atlassian.com/software/bamboo/downloads/binary/atlassian-bamboo-4.1.2.tar.gz
tar -xvf atlassian-bamboo-4.1.2.tar.gz
cd /opt
sudo mkdir Bamboo
sudo chmod a+rw Bamboo
cp -R tmp/Bamboo/* Bamboo/

Edit the file /opt/Bamboo/webapp/WEB-INF/classes/bamboo-init.properties and add the line:

bamboo.home=/data/Bamboo

Fix the permissions on Bamboo so it can be run as a service:

sudo chown -R root:root /opt/Bamboo
cd /opt/Bamboo
touch atlassian-bamboo.log
sudo chown DB_Collaboration:DB_Collaboration atlassian-bamboo.log 
sudo chown -R DB_Collaboration:DB_Collaboration logs
sudo chown DB_Collaboration:DB_Collaboration .

Run Bamboo and Allow it to Run Migrations

sudo /sbin/service bamboo start

Check the page in a local browser on build-server. Then shut down Bamboo.

sudo /sbin/service bamboo stopt

The log is attached as bamboo.log

Configure SSL

Edit /opt/Bamboo/webapp/WEB-INF/classes/jetty.xml

# Uncomment these lines
<Set name="Host">127.0.0.1</Set>
<Set name="ConfidentialPort">8443</Set>
<Set name="IntegralPort">8443</Set>

Add SSL section:

    <Call name="addConnector">
      <Arg>
        <New class="org.eclipse.jetty.server.ssl.SslSelectChannelConnector">
          <Set name="Port">8443</Set>
          <Set name="Keystore">/usr/local/keystore/keystore</Set>
          <Set name="Password">Refer to jetty.xml to see password</Set>
          <Set name="KeyPassword">Refer to jetty.xml to see password</Set>
        </New>
      </Arg>
    </Call>

Start Bamboo using jetty.xml

Edit the file /opt/Bamboo/conf/wrapper.conf

sudo chmod a+w /opt/Bamboo/conf/wrapper.conf
  1. Comment out the following lines:
    • #wrapper.app.parameter.2=8085
      #wrapper.app.parameter.3=../webapp
      #wrapper.app.parameter.4=/
  2. Add the following line:
    wrapper.app.parameter.2=webapp/WEB-INF/classes/jetty.xml

Configure Crowd

It's way easier to configure now. Follow the instructions at https://confluence.atlassian.com/display/BAMBOO/Integrating+Bamboo+with+Crowd


bamboo.log (application/octet-stream)
Document generated by Confluence on Feb 03, 2026 16:22